package com.hisysteTopet.hisystepet.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.sql.Timestamp;
import java.util.TimerTask;

@Component
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("shop_cart")
public class ShopCart {

    private String username;

    private Integer petId;

    private Integer lifeGoodsId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Timestamp data;

    private String classify;

    private String url;

    private String petName;

    private String lifeGoodsName;

    private Double money;

}
